Otherwise we might skip them here, then set child-visible to TRUE and
then later snapshot them even though they have no valid size.
break;
}
+ /* set child visible */
+ if (page->tab_label)
+ gtk_widget_set_child_visible (page->tab_widget, TRUE);
+
if (page == priv->cur_page && priv->operation == DRAG_OPERATION_REORDER)
{
GtkAllocation fixed_allocation = { priv->drag_window_x, priv->drag_window_y,
break;
}
-
- /* set child visible */
- if (page->tab_label)
- gtk_widget_set_child_visible (page->tab_widget, TRUE);
}
/* Don't move the current tab past the last position during tabs reordering */